using UnityEngine;

namespace EpicToonFX
{
    // [Assembly-CSharp.dll].EpicToonFX.ETFXRotation
    public class ETFXRotation : MonoBehaviour
    {
        
        #region EpicToonFX.ETFXRotation.spaceEnum
        // [Assembly-CSharp.dll].EpicToonFX.ETFXRotation.spaceEnum
        public enum spaceEnum
        {
            // Fields
            Local = 0
            ,World = 1
            
        
        }
        
        #endregion
        
        // Fields
        public UnityEngine.Vector3 rotateVector;
        public EpicToonFX.ETFXRotation.spaceEnum rotateSpace;
        
        // Methods
        private void Start()
        {
        
        }
        private void Update()
        {
            EpicToonFX.ETFXRotation.EpicToonFX.ETFXRotation.spaceEnum val_11 = this.rotateSpace;
            if(val_11 == 0)
            {
                    float val_2 = UnityEngine.Time.deltaTime;
                this.transform.Rotate(eulers:  new UnityEngine.Vector3() {x = this.rotateVector * val_2, y = S9 * val_2, z = S10 * val_2});
                val_11 = this.rotateSpace;
            }
            
            if(val_11 != 1)
            {
                    return;
            }
            
            float val_7 = UnityEngine.Time.deltaTime;
            this.transform.Rotate(eulers:  new UnityEngine.Vector3() {x = this.rotateVector * val_7, y = S9 * val_7, z = S10 * val_7}, relativeTo:  0);
        }
        public ETFXRotation()
        {
            this.rotateVector = mem[536895737];
            mem[1152921504930430432] = mem[536895737] + 8;
        }
    
    }

}
